<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<?php
include(dirname(__FILE__) . "/comment-service-adapter.php");

  $service_adapter = new CommentServiceAdapter();
  $comments_result = $service_adapter->GetArticleComments(107, 0, 5);

if ($comments_result) {
  printf("success = %d<br/>", $comments_result->success);
  printf("reason = %s<br/>", $comments_result->reason);
  print_r($comments_result);
} else {
  echo "rpc call error<br/>";
}

?>
